package com.link.base.ext.visit.controller;


import com.link.base.ext.visit.model.ExtVisits;
import com.link.base.ext.visit.service.ExtVisitsService;
import com.link.core.basic.service.KeyGenerateService;
import com.link.ext.basic.controller.BasicExtController;
import com.link.ext.basic.service.BasicExtService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

@Controller
@RequestMapping("/ext/extVisits")
public class ExtVisitsController extends BasicExtController<ExtVisits> {

    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private ExtVisitsService extVisitsService;

    @Override
    public BasicExtService<ExtVisits> getBasicService() throws Exception {
        return extVisitsService;
    }
}
